package day12;

public class AnimalTest {
	public static void main(String[] args) {
		
		
		AnimalTest aTest=new AnimalTest();
		aTest.func(new Cat());
		System.out.println("**************************");
		aTest.func(new Dog());
		
		
		
	}
	
	
	public void func(Animal a) {
		a.eat();
	}
	
}
